@import 'mixin.scss';
@import 'var.scss';
// 聚衣汇-首页
.jyh-top {
    display: flex;
    .jyh-top-right {}
    img {
        display: block;
    }
}

.jyh-dglist {
    display: flex;
    flex-wrap: wrap;
    img {
        display: block;
        width: 380px;
        height: 310px;
    }
    .jyh-dgitem {
        margin-right: 30px;
        margin-bottom: 40px;
        text-align: center;
        position: relative;
        overflow: hidden;
        &:nth-child(3n) {
            margin-right: 0;
        }
        &:hover {
            .intro {
                opacity: 1;
            }
        }
        .jyh-dgbottom {
            background-color: #fff;
            width: 380px;
        }
        .title {
            @include ellipsis;
            margin: 0 auto;
            width: 90%;
            padding: 18px 0;
            font-weight: bold;
            font-size: 16px;
            color: $fc-base;
        }
        .location {
            font-size: 12px;
            color: $fc-gray;
        }
        .date {
            @extend .location;
            padding: 14px 0 20px 0;
        }
        .baoming {
            background-color: #fff;
            color: $fc-blue;
            font-size: 16px;
            padding: 10px 38px;
            margin-bottom: 20px;
            border: 2px solid $border-blue;
            cursor: pointer;
            &:hover {
                background-color: $bg-blue;
                color: #fff;
            }
        }
        .intro {
            position: absolute;
            transition: all .5s;
            top: 0;
            right: 0;
            left: 0;
            height: 418px;
            opacity: 0;
            background-color: rgba(73, 96, 165, .9);
            color: #fff;
            .line1 {
                font-size: 18px;
                margin: 67px 0 12px 0;
            }
            .txt {
                font-size: 12px;
                width: 280px;
                height: 220px;
                margin: auto;
                line-height: 30px;
                text-align: left;
            }
            .baoming {
                background-color: transparent;
                border-color: #fff;
                color: #fff;
            }
        }
    }
}

// 聚衣汇-聚衣时装周-搜索条件
.jyh-condition {
    background-color: #fff;
    font-size: 12px;
    position: relative;
    margin: 20px 0;
    .type {
        color: $fc-title-gray;
        width: 84px;
        margin-left: 20px;
        display: inline-block;
        text-align: center;
        line-height: 46px;
        cursor: pointer;
        &.active {
            border-top: 4px solid $fc-blue;
        }
    }
    .search-wrap {
        position: absolute;
        right: 30px;
        top: 12px;
        display: flex;
        align-items: center;
        .search {
            border: 1px solid #dfdfdf;
            display: inline-block;
            margin-right: 27px;
            input {
                line-height: 24px;
                padding: 0 8px;
            }
            button {
                line-height: 24px;
                background-color: #f2f2f2;
                border-left: 1px solid #dfdfdf;
                padding: 0 9px;
            }
        }
        .icon-letter {
            position: relative;
            i {
                position: absolute;
                right: -9px;
                top: -7px;
                width: 14px;
                line-height: 14px;
                text-align: center;
                background-color: #ff0036;
                border-radius: 50%;
                color: #fff;
            }
        }
    }
}

// 聚衣汇-行业订购会
.jyh-hydg-list {
    display: flex;
    flex-wrap: wrap;
    img {
        display: block;
        width: 280px;
        height: 148px;
    }
    .jyh-dgitem {
        margin-right: 26px;
        margin-bottom: 40px;
        position: relative;
        overflow: hidden;
        &:nth-child(4n) {
            margin-right: 0;
        }
        &:hover {
            .shouc-wrap {
                opacity: 1;
            }
        }
        .jyh-dgbottom {
            background-color: #fff;
            width: 260px;
            padding: 15px 10px;
        }
        .title {
            @include ellipsis;
            margin-bottom: 10px;
            font-weight: bold;
            font-size: 14px;
            color: $fc-base;
        }
        .author {
            font-size: 12px;
            color: $fc-gray;
            display: flex;
            justify-content: space-between;
        }
        .shouc-wrap {
            position: absolute;
            top: 118px;
            left: 0;
            right: 0;
            opacity: 0;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            transition: all .5s;
            color: #fff;
            font-size: 14px;
            text-align: center;
            line-height: 30px;
        }
        .shouc {
            background-color: rgba(0, 0, 0, .5);
            width: 100%;
        }
        // 线下订购会列表样式
        .jyh-dgbottom1 {
            background-color: #fff;
            width: 260px;
            padding: 15px 10px;
            text-align: center;
        }
        .baom {
            width: 139px;
            background-color: rgba(0, 0, 0, .5);
        }
        .location {
            font-size: 12px;
            color: $fc-gray;
            margin-bottom: 10px;
            i {
                display: inline-block !important;
                margin-bottom: -3px;
                margin-right: 5px;
            }
        }
        .date {
            @extend .location;
        }
    }
}

// 聚衣汇订购页面顶部
.jyh-dgtop {
    display: flex;
    justify-content: space-between;
    height: 540px;
    .left-wrap {
        width: 890px;
    }
    .right-wrap {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        img {
            width: 280px;
            height: 265px;
        }
    }
}